from django.contrib import admin
from s53_1156_509_6.computer.models import *

class DetailComperterPerfectAdmin(admin.ModelAdmin):
	list_display = ('id_computer','last_date_repair','repairman','status')
  

class DetailComperterDamagedAdmin(admin.ModelAdmin):
	list_display = ('id_computer','Date_entry','status_damaged', 'name_user')

class HistoryAdmin(admin.ModelAdmin):
	list_display = ('date_time','id_computer','last_date_repair','repairman','status')
  

admin.site.register(DetailComperterPerfect, DetailComperterPerfectAdmin)
admin.site.register(DetailComperterDamaged, DetailComperterDamagedAdmin)
admin.site.register(History, HistoryAdmin)

